package com.qdu.bussiness.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.qdu.common.annotation.Excel;
import com.qdu.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 雇佣记录对象 bus_hire
 * 
 * @author qdu
 * @date 2022-03-11
 */
public class BusHire extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private Long hireId;

    /** 账单ID */
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private Long billId;

    /** 教练ID */
    @Excel(name = "教练ID")
    private Long coachId;

    /** 雇佣人 */
    @Excel(name = "雇佣人")
    private String hireUserName;

    /** 雇佣开始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "雇佣开始时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date hireStartTime;

    /** 雇佣结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "雇佣结束时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date hireEndTime;

    /** 雇佣时长 */
    @Excel(name = "雇佣时长")
    private String hireTime;

    /** 雇佣金总额 */
    @Excel(name = "雇佣金总额")
    private String hireMoney;

    /** 是否结算 */
    @Excel(name = "是否结算")
    private Integer isPaid;

    /** 状态 */
    @Excel(name = "状态")
    private String status;

    /** 教练名称 */
    private String coachName;

    /** 教练工号 */
    private String coachCode;

    public void setHireId(Long hireId) 
    {
        this.hireId = hireId;
    }

    public Long getHireId() 
    {
        return hireId;
    }
    public void setBillId(Long billId) 
    {
        this.billId = billId;
    }

    public Long getBillId() 
    {
        return billId;
    }
    public void setCoachId(Long coachId) 
    {
        this.coachId = coachId;
    }

    public Long getCoachId() 
    {
        return coachId;
    }
    public void setHireUserName(String hireUserName) 
    {
        this.hireUserName = hireUserName;
    }

    public String getHireUserName() 
    {
        return hireUserName;
    }
    public void setHireStartTime(Date hireStartTime) 
    {
        this.hireStartTime = hireStartTime;
    }

    public Date getHireStartTime() 
    {
        return hireStartTime;
    }
    public void setHireEndTime(Date hireEndTime) 
    {
        this.hireEndTime = hireEndTime;
    }

    public Date getHireEndTime() 
    {
        return hireEndTime;
    }
    public void setHireTime(String hireTime) 
    {
        this.hireTime = hireTime;
    }

    public String getHireTime() 
    {
        return hireTime;
    }
    public void setHireMoney(String hireMoney) 
    {
        this.hireMoney = hireMoney;
    }

    public String getHireMoney() 
    {
        return hireMoney;
    }
    public void setIsPaid(Integer isPaid) 
    {
        this.isPaid = isPaid;
    }

    public Integer getIsPaid() 
    {
        return isPaid;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }

    public String getCoachName() {
        return coachName;
    }

    public void setCoachName(String coachName) {
        this.coachName = coachName;
    }

    public String getCoachCode() {
        return coachCode;
    }

    public void setCoachCode(String coachCode) {
        this.coachCode = coachCode;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("hireId", getHireId())
            .append("billId", getBillId())
            .append("coachId", getCoachId())
            .append("hireUserName", getHireUserName())
            .append("hireStartTime", getHireStartTime())
            .append("hireEndTime", getHireEndTime())
            .append("hireTime", getHireTime())
            .append("hireMoney", getHireMoney())
            .append("isPaid", getIsPaid())
            .append("status", getStatus())
            .toString();
    }
}
